package com.giao.vo;


import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
import java.util.List;

@AllArgsConstructor
@Data
@NoArgsConstructor
public class ContractVo {
    private int contractId;
    private List<ContractProductVo> contractProductVos;//货物集合
    private String cpnum;
    private String extnum;

    private String offeror;
    private String contractNo;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date signingDate;

    private String inputBy;
    private String checkBy;
    private String inspector;
    private Double totalAmount;
    private Integer importNum;
    private String request;
    private String customName;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date deliveryPeriod;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date shipTime;
    private String tradeTerms;
    private String remark;
    private String printStyle;
    private Integer oldState;
    private Integer state;
    private Integer outState;

    private String createBy;
    private String createDept;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date createTime;

}
